package com.zhiche.lisa.bms.dao.model.statistics;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 账单统计表
 * </p>
 *
 * @author liangpeng
 * @since 2019-01-24
 */
@TableName("lisa_static_bill")
public class StaticBill extends Model<StaticBill> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 账单编号
     */
	@TableField("bill_id")
	private String billId;
    /**
     * 账单类型
     */
	@TableField("bill_type")
	private String billType;
    /**
     * 账单状态
     */
	@TableField("bill_status")
	private String billStatus;
    /**
     * 收入开票状态
     */
	@TableField("income_invoice_status")
	private String incomeInvoiceStatus;
    /**
     * 收入开票日期
     */
	@TableField("income_invoice_date")
	private String incomeInvoiceDate;
    /**
     * 收入发票号
     */
	@TableField("income_invoice_no")
	private String incomeInvoiceNo;
    /**
     * 收款日期
     */
	@TableField("receipt_date")
	private String receiptDate;
    /**
     * 开票公司
     */
	@TableField("unit_name")
	private String unitName;
    /**
     * 应收账单其他费用
     */
	@TableField("income_bill_charge")
	private BigDecimal incomeBillCharge;
    /**
     * 申请开票金额
     */
	@TableField("income_invoice_apply")
	private BigDecimal incomeInvoiceApply;
    /**
     * 已开票金额
     */
	@TableField("income_invoice_money")
	private BigDecimal incomeInvoiceMoney;
    /**
     * 支付主体
     */
	@TableField("pay_name")
	private String payName;
    /**
     * 支付申请单号
     */
	@TableField("pay_invoice_code")
	private String payInvoiceCode;
    /**
     * 支付发票号
     */
	@TableField("pay_invoice_no")
	private String payInvoiceNo;
    /**
     * 支付开票日期
     */
	@TableField("pay_invoice_date")
	private String payInvoiceDate;
    /**
     * 支付日期
     */
	@TableField("pay_date")
	private String payDate;
    /**
     * 财务收票日期
     */
	@TableField("receive_invoice_date")
	private String receiveInvoiceDate;
    /**
     * 应付账单其他费用
     */
	@TableField("pay_bill_charge")
	private BigDecimal payBillCharge;
    /**
     * 实付金额
     */
	@TableField("pay_money")
	private BigDecimal payMoney;
    /**
     * 应收/应付 其他费用
     */
	@TableField("bill_other_fee")
	private BigDecimal billOtherFee;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 更新时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;
    /**
     * 处理状态
     */
	@TableField("deal_status")
	private Integer dealStatus;
    /**
     * 处理时间
     */
	@TableField("deal_time")
	private Date dealTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getBillId() {
		return billId;
	}

	public void setBillId(String billId) {
		this.billId = billId;
	}

	public String getBillType() {
		return billType;
	}

	public void setBillType(String billType) {
		this.billType = billType;
	}

	public String getBillStatus() {
		return billStatus;
	}

	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}

	public String getIncomeInvoiceStatus() {
		return incomeInvoiceStatus;
	}

	public void setIncomeInvoiceStatus(String incomeInvoiceStatus) {
		this.incomeInvoiceStatus = incomeInvoiceStatus;
	}

	public String getIncomeInvoiceDate() {
		return incomeInvoiceDate;
	}

	public void setIncomeInvoiceDate(String incomeInvoiceDate) {
		this.incomeInvoiceDate = incomeInvoiceDate;
	}

	public String getIncomeInvoiceNo() {
		return incomeInvoiceNo;
	}

	public void setIncomeInvoiceNo(String incomeInvoiceNo) {
		this.incomeInvoiceNo = incomeInvoiceNo;
	}

	public String getReceiptDate() {
		return receiptDate;
	}

	public void setReceiptDate(String receiptDate) {
		this.receiptDate = receiptDate;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public BigDecimal getIncomeBillCharge() {
		return incomeBillCharge;
	}

	public void setIncomeBillCharge(BigDecimal incomeBillCharge) {
		this.incomeBillCharge = incomeBillCharge;
	}

	public BigDecimal getIncomeInvoiceApply() {
		return incomeInvoiceApply;
	}

	public void setIncomeInvoiceApply(BigDecimal incomeInvoiceApply) {
		this.incomeInvoiceApply = incomeInvoiceApply;
	}

	public BigDecimal getIncomeInvoiceMoney() {
		return incomeInvoiceMoney;
	}

	public void setIncomeInvoiceMoney(BigDecimal incomeInvoiceMoney) {
		this.incomeInvoiceMoney = incomeInvoiceMoney;
	}

	public String getPayName() {
		return payName;
	}

	public void setPayName(String payName) {
		this.payName = payName;
	}

	public String getPayInvoiceCode() {
		return payInvoiceCode;
	}

	public void setPayInvoiceCode(String payInvoiceCode) {
		this.payInvoiceCode = payInvoiceCode;
	}

	public String getPayInvoiceNo() {
		return payInvoiceNo;
	}

	public void setPayInvoiceNo(String payInvoiceNo) {
		this.payInvoiceNo = payInvoiceNo;
	}

	public String getPayInvoiceDate() {
		return payInvoiceDate;
	}

	public void setPayInvoiceDate(String payInvoiceDate) {
		this.payInvoiceDate = payInvoiceDate;
	}

	public String getPayDate() {
		return payDate;
	}

	public void setPayDate(String payDate) {
		this.payDate = payDate;
	}

	public String getReceiveInvoiceDate() {
		return receiveInvoiceDate;
	}

	public void setReceiveInvoiceDate(String receiveInvoiceDate) {
		this.receiveInvoiceDate = receiveInvoiceDate;
	}

	public BigDecimal getPayBillCharge() {
		return payBillCharge;
	}

	public void setPayBillCharge(BigDecimal payBillCharge) {
		this.payBillCharge = payBillCharge;
	}

	public BigDecimal getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(BigDecimal payMoney) {
		this.payMoney = payMoney;
	}

	public BigDecimal getBillOtherFee() {
		return billOtherFee;
	}

	public void setBillOtherFee(BigDecimal billOtherFee) {
		this.billOtherFee = billOtherFee;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Integer getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(Integer dealStatus) {
		this.dealStatus = dealStatus;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StaticBill{" +
			", id=" + id +
			", billId=" + billId +
			", billType=" + billType +
			", billStatus=" + billStatus +
			", incomeInvoiceStatus=" + incomeInvoiceStatus +
			", incomeInvoiceDate=" + incomeInvoiceDate +
			", incomeInvoiceNo=" + incomeInvoiceNo +
			", receiptDate=" + receiptDate +
			", unitName=" + unitName +
			", incomeBillCharge=" + incomeBillCharge +
			", incomeInvoiceApply=" + incomeInvoiceApply +
			", incomeInvoiceMoney=" + incomeInvoiceMoney +
			", payName=" + payName +
			", payInvoiceCode=" + payInvoiceCode +
			", payInvoiceNo=" + payInvoiceNo +
			", payInvoiceDate=" + payInvoiceDate +
			", payDate=" + payDate +
			", receiveInvoiceDate=" + receiveInvoiceDate +
			", payBillCharge=" + payBillCharge +
			", payMoney=" + payMoney +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			", dealStatus=" + dealStatus +
			", dealTime=" + dealTime +
			"}";
	}
}
